package com.sr.service;

import com.sr.ibase.IBaseService;
import com.sr.pojo.SysRolePermission;

import java.util.List;

/**
 * @author xiaochi
 * @date 2022/5/3 18:23
 * @desc IRolePernissionService
 */
public interface IRolePernissionService extends IBaseService<SysRolePermission> {

    /**
     * 插入角色权限关联表数据
     * @param permissionsIds
     * @param roleId
     */
    void addRolePermission(List<String> permissionsIds,String roleId);
}
